package Com.amit.Thread;

public class Lab12 implements Runnable {

	@Override
	public void run() {
		System.out.println("one task");
		
	}
	
	public static void main(String[] args) {
	
		Lab12 t1=new Lab12();
		
		Lab12 t2=new Lab12();
		
		Thread t3=new Thread(t1);
		Thread t4=new Thread(t2);
		
		t3.start();
		t4.start();
		
		

	}

}
